.vback {
  height: 550px;
  background-color: rgb(236, 235, 235);
}
.end{
  margin-right:10px
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 20px;
  background-color: rgb(236, 235, 235);
  overflow: auto;
}

.chat-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chat-history {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
}

.message-left,
.message-right {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.message-left .message,
.message-right .message {
  padding: 10px;
  border-radius: 10px;
  max-width: 70%;
}

.message-left .message {
  background-color: rgb(255, 255, 255);
  color: black;
  order: 1;
  text-align: left;
}

.message-right .message {
  background-color: rgb(0, 133, 250);
  color: white;
  order: -1;
  text-align: left;
}

.message-right {
  justify-content: flex-end;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 0 10px;
}

.message-right .avatar {
  order: 1;
}

.chat-input {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  margin-bottom: 5px;
  /* 增加底部高度 */
  background-color: #ffffff;
  padding: 10px 10px;
  /* 减小框的高度 */
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
  border-color: white;
}

.chat-input textarea {
  flex: 1;
  margin-right: 10px;
  height: 30px;
  background-color: #f0f0f0;
  border: none;
}

.chat-input button {
  background-color: rgb(0, 124, 248);
  color: #fff;
  padding: 5px 10px;
  margin-bottom: 0px;
  border-radius: 5px;
  height: 30px;
  font-size: 15px;
  line-height: 20px;
}